/ M S i r e n i x . O d i n I n s p e c t o r . E d i t o r . M o d u l e s . M o d u l e D a t a , S i r e n i x . O d i n I n s p e c t o r . E d i t o r ' I D U n i t y . E n t i t i e s V e r s i o n / S y s t e m . V e r s i o n , m s c o r l i b F i l e s / S y s t e m . C o l l e c t i o n s . G e n e r i c . L i s t ` 1 [ [ S i r e n i x . O d i n I n s p e c t o r . E d i t o r . M o d u l e s . M o d u l e D a t a + M o d u l e F i l e , S i r e n i x . O d i n I n s p e c t o r . E d i t o r ] ] , m s c o r l i b / X S i r e n i x . O d i n I n s p e c t o r . E d i t o r . M o d u l e s . M o d u l e D a t a + M o d u l e F i l e , S i r e n i x . O d i n I n s p e c t o r . E d i t o r ' P a t h A A B B A t t r i b u t e P r o c e s s o r . c s D a t a / S y s t e m . B y t e [ ] , m s c o r l i b Ä ï»¿//-----------------------------------------------------------------------
//
// Copyright (c) Sirenix IVS. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Sirenix.OdinInspector.Modules.Entities
{
using System;
using System.Collections.Generic;
using Sirenix.OdinInspector.Editor;
using System.Reflection;
using Unity.Mathematics;
public class AABBAttributeProcessor : OdinAttributeProcessor
{
public override bool CanProcessChildMemberAttributes(InspectorProperty parentProperty, MemberInfo member)
{
return false;
}
public override void ProcessSelfAttributes(InspectorProperty property, List attributes)
{
attributes.GetOrAddAttribute();
}
}
}
0 ' P a t h A A B B A t t r i b u t e P r o c e s s o r . c s . m e t a D a t a 0 þ fileFormatVersion: 2
guid: 99aec795f53d8e143a1d7f42bcc5b17b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
0 ' P a t h B u f f e r E l e m e n t D a t a W r a p p e r . c s D a t a 0 ¶ //-----------------------------------------------------------------------
//
// Copyright (c) Sirenix IVS. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Sirenix.OdinInspector.Modules.Entities
{
using Unity.Entities;
public struct BufferElementDataWrapper where T : struct, IBufferElementData
{
[ShowInInspector, LabelText("Dynamic Buffer Contents"), ListDrawerSettings(HideAddButton = true, HideRemoveButton = true, DraggableItems = false, Expanded = true)]
public DynamicBuffer Buffer;
}
}
0 ' P a t h B u f f e r E l e m e n t D a t a W r a p p e r . c s . m e t a D a t a 0
þ fileFormatVersion: 2
guid: 565c74c49444ab740bd725bfb0d6c1b1
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
0 ' P a t h ! B u f f e r E l e m e n t D a t a W r a p p e r D r a w e r . c s D a t a 0 { //-----------------------------------------------------------------------
//
// Copyright (c) Sirenix IVS. All rights reserved.
//
//-----------------------------------------------------------------------
namespace Sirenix.OdinInspector.Modules.Entities
{
using Unity.Entities;
using Sirenix.OdinInspector.Editor;
using UnityEngine;
using Sirenix.Utilities.Editor;
public class BufferElementDataWrapperDrawer : OdinValueDrawer>
where TBufferElementData : struct, IBufferElementData
{
protected override void DrawPropertyLayout(GUIContent label)
{
var rect = OdinECSEditorGUI.HeaderLabel(typeof(TBufferElementData).FullName, OdinECSEditorGUI.EntityIcon, this.Property.Children.Count > 0);
GUI.Label(rect, "Buffer Element Data", SirenixGUIStyles.RightAlignedGreyMiniLabel);
this.CallNextDrawer(null);
OdinECSEditorGUI.DrawVerticalInspectorSeparator();
}
}
}
0
' P a t h &